/**
 * Copyright 2021 Solomon. All rights reserved.
 * Date : 2021.03.24
 */
 
typedef struct stTPSta_H
{
    uint8_t none0;
    uint8_t none1;
    uint8_t none2;
    uint8_t CPU_RUN;
    uint8_t TINT_Low;
    uint8_t TIC_IN_CPU;
    uint8_t TIC_IN_BIOS;
    uint8_t TIC_BUSY;
} TPStaH_t;

typedef struct stTPSta_L
{
    uint8_t PT_Exist;
    uint8_t Gesture;
    uint8_t Key;
    uint8_t Aux;
    uint8_t Keep;
    uint8_t RawOrPT;
    uint8_t none6;
    uint8_t none7;
} TPStaL_t;

typedef struct stTP_SL
{
    struct stTPSta_L Status_L;
    struct stTPSta_H Status_H;
    uint16_t ReadLen;
} TP_SL_t;

typedef struct stTP_Report
{
    uint8_t id;
    uint16_t x;
    uint16_t y;
    uint8_t weight;
} TP_Report_t;

typedef struct stTP_Tocuh
{
    struct stTP_Report rpt[10];
    uint8_t touch_num;
    uint8_t pack_code;
    uint8_t down;
    uint8_t up;
    uint8_t gesture;
    uint16_t down_x;
    uint16_t down_y;
    uint16_t up_x;
    uint16_t up_y;
} TP_Touch_t;

typedef struct stTP_HDP_STA
{
    uint8_t Sta;
    uint16_t Next_Packet_Len;
} TP_HDP_STA_t;
